<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@page isELIgnored="false" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html style="overflow-y: visible;">
    <jsp:include page="../../../include/IncludeMain.jsp"></jsp:include>
  	<body style="overflow-y: visible;" onload="changeRowColor();">
    	<table class="mainTable">
		<thead>
			<tr class="tableController">
				<th colspan="18">
					<h3>冲单(半成品入库)记录列表</h3>
					<div class="tableControllerButton">
						<a class="button" href="javascript:void(0)" onclick="this.blur(); deleteAll(); 'return false';"><span><img src="${pageContext.request.contextPath }/js/kui/icons/application_delete.png" align="absmiddle"/>&nbsp;删除</span></a>
						<a class="button" href="javascript:void(0)" onclick="this.blur(); history.go(-1);'return false';"><span><img src="${pageContext.request.contextPath }/js/kui/icons/anticlockwise.png" align="absmiddle"/>&nbsp;返回</span></a>
					</div>
				</th>
			</tr>
			
			
			
			<tr class="tableTitle">
				<th>
					<h3><input type="checkbox" onclick="selectAll(this);"/></h3>
				</th>
				<th>
					<h3>编号</h3>
				</th>
				<th>
					<h3>成品料号</h3>
				</th> 
				<th colspan="8">
					<center><h3>配码</h3></center>
				</th> 
				<th>
					<center><h3>合计</h3></center>
				</th> 
				<th>
					<center><h3>冲单（入库）日期</h3></center>
				</th> 
				<th>
					<center><h3>备注</h3></center>
				</th>
				<th>
					<h3>操作</h3>
				</th>                  
			</tr>
		</thead>
		<tbody>
		<form action="${pageContext.request.contextPath }/pages/business/CancelShoe.do?act=del&cancelShoe.id=${cancelShoe.id }" name="myForm" id="myForm" method="post">
			<c:forEach items="${pager.data}" var="cancelShoe" varStatus="s">
			<c:if test="${cancelShoe.id!= 0}">
			<tr>
				<td width="20px"><input type="checkbox" name="id" value="${cancelShoe.id}"/></td>
				<td>${s.index+1}</td>
				
				<td>${product_id_list[s.index]}</td>
				<td><h5>${cancelShoe.size_33}</h5></td>
				<td><h5>${cancelShoe.size_34}</h5></td>
				<td><h5>${cancelShoe.size_35}</h5></td>
				<td><h5>${cancelShoe.size_36}</h5></td>
				<td><h5>${cancelShoe.size_37}</h5></td>
				<td><h5>${cancelShoe.size_38}</h5></td>
				<td><h5>${cancelShoe.size_39}</h5></td>
				<td><h5>${cancelShoe.size_40}</h5></td>
				<td style="color:#ff0000"><center><h5>${cancelShoe.size_33 + cancelShoe.size_34 + cancelShoe.size_35 + cancelShoe.size_36 + cancelShoe.size_37 + cancelShoe.size_38 + cancelShoe.size_39 + cancelShoe.size_40}</h5></center></td>
				<td align="center"><h5>${cancelShoe.cancel_date }</h5></td>
				<td><center>${cancelShoe.comments}</center></td>
				<td>
				<!--  
						<a class="button-small" href="javascript:void(0)" onclick="this.blur(); window.location='${pageContext.request.contextPath }/pages/business/OrderShoe.do?act=get&orderShoe.id=${orderShoeView.id }&order_id=${order_id }'; return false;"><span>修改</span></a>
						<a class="button-small" href="javascript:void(0)" onclick="this.blur(); deleteOne('${pageContext.request.contextPath }/pages/business/OrderShoe.do?act=del&id=${orderShoeView.id }&order_id=${order_id }'); return false;"><span>删除</span></a>	
				-->
				</td>
			</tr>
			</c:if>
			</c:forEach>
		</form>
		</tbody>
		<tfoot>
			<tr  class="tableController_bottom">
				<td colspan="18" align="center">
					<jsp:include page="../../../include/SplitPage.jsp">
						<jsp:param name="pager" value="${action.pager}"/>
					</jsp:include>
				</td>
			</tr>
		</tfoot>
	</table>
	
  </body>
</html>
				